package com.gsnd.gsnd22estore.mapper;

import com.gsnd.gsnd22estore.domain.EsShopcar;
import com.gsnd.gsnd22estore.dto.ShopCarInfoDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.gsnd.gsnd22estore.domain.EsShopcar
 */
public interface EsShopcarMapper {

    List<ShopCarInfoDTO> select(Integer userId);

    void insert(EsShopcar shopCar);

    void deleteBatch(@Param("ids") List<Integer> ids);

    void update(EsShopcar shopCar);

    List<EsShopcar> selectList(@Param("ids") List<Integer> ids);

    void  deleteById(@Param("id") Integer id);

    EsShopcar findById(@Param("id")Integer id);
}




